package com.bdth.mixapi.api.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bdth.mixapi.api.entity.IndustryOrder;
import com.bdth.mixapi.api.mapper.IndustryOrderMapper;
import com.bdth.mixapi.api.service.IndustryOrderService;
import com.bdth.mixapi.api.vo.IndustryOrderVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author LGP
 * @since 2019-04-11
 */
@Service
public class IndustryOrderServiceImpl extends ServiceImpl<IndustryOrderMapper, IndustryOrder> implements IndustryOrderService {

    @Autowired
    IndustryOrderMapper industryOrderMapper;
    @Override
    public List<IndustryOrderVo> getIndustryTop10(Map<String, Object> query) {
        return industryOrderMapper.getIndustryTop10(query);
    }
}
